package com.baizhi.mapper;

import com.baizhi.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    void insertUser(User user);
    void deleteById(int id);
    void updateUser(User user);
    User selectById(int id);
    List<User> selectAll(@Param("pageNum")int pageNum, @Param("pageSize")int pageSize,@Param("query")String query);
}
